//package cn.com.shinho.hg.gate.config;
//
//import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.http.converter.HttpMessageConverter;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
//import java.util.List;
//
///**
// * @program: hg-server-parent
// * @description: 异常信息配置
// * @author: Mr.Ye
// * @create: 2018-08-10
// **/
//@Configuration
//public class ErrorTipConfig implements WebMvcConfigurer {
//
//    @Autowired
//    private FastJsonHttpMessageConverter fastJsonHttpMessageConverter;
//
//    @Override
//    public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
//        converters.add(fastJsonHttpMessageConverter);
//    }
//
//}